package org.ly.dq.bean;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Many;
import org.nutz.dao.entity.annotation.Table;

import java.util.Date;
import java.util.List;

/**
 * 维修单
 */
@Data
@Table("dq_wei_xiu")
public class WeiXiu {

	/**
	 * 维修id
	 */
	@Id
	@Column("wei_xiu_id")
	private Integer weiXiuId;
	/**
	 * 订单号
	 */
	@Column("ding_dan_hao")
	private String dingDanHao;
	/**
	 * 维修人
	 */
	@Column("wei_xiu_ren")
	private String weiXiuRen;
	/**
	 * 报修日期
	 */
	@Column("bao_xiu_ri_qi")
	private Date baoXiuRiQi;
	/**
	 * 故障原因
	 */
	@Column("gu_zhang_yuan_yin")
	private String guZhangYuanYin;
	/**
	 * 维修措施
	 */
	@Column("wei_xiu_cuo_shi")
	private String weiXiuCuoShi;
	/**
	 * 用户姓名
	 */
	@Column("yong_hu_name")
	private String yongHuName;
	/**
	 * 用户地址
	 */
	@Column("yong_hu_di_zhi")
	private String yongHuDiZhi;
	/**
	 * 用户电话
	 */
	@Column("yong_hu_phone")
	private String yongHuPhone;
	/**
	 * 品牌号
	 */
	@Column("ping_pai_hao")
	private String pingPaiHao;
	/**
	 * 品牌型号
	 */
	@Column("ping_pai_xing_hao")
	private String pingPaiXingHao;
	/**
	 * 条码
	 */
	@Column("tiao_ma")
	private String tiaoMa;
	/**
	 * 录入人
	 */
	@Column("lu_ru_ren")
	private String luRuRen;
	/**
	 * 1、保内维修 2、保外维修
	 */
	@Column("bao_xiu_lei_xing")
	private String baoXiuLeiXing;
	/**
	 * 维修费
	 */
	@Column("wei_xiu_fei")
	private Long weiXiuFei;
	/**
	 * 拉修费用
	 */
	@Column("la_xiu_fei_yong")
	private Long laXiuFeiYong;
	/**
	 * 图片1
	 */
	@Column("tu_pian_1")
	private String tuPian1;
	/**
	 * 图片2
	 */
	@Column("tu_pian_2")
	private String tuPian2;
	/**
	 * 图片3
	 */
	@Column("tu_pian_3")
	private String tuPian3;
	/**
	 * 购买日期
	 */
	@Column("gou_mai_ri_qi")
	private Date gouMaiRiQi;
	/**
	 * 外机条码
	 */
	@Column("wai_ji_tiao_ma")
	private String waiJiTiaoMa;
	/**
	 * 是否维修状态
	 */
	@Column("zhuang_tai")
	private String zhuangTai;

	/**
	 * 一对多
	 * @return
	 */
	@Many(target = WuLiao.class, field = "weiXiuDanId")
	private List<WuLiao> wuLiaos;

	public List<WuLiao> getWuLiaos() {
		return wuLiaos;
	}

	public void setWuLiaos(List<WuLiao> wuLiaos) {
		this.wuLiaos = wuLiaos;
	}

	public Integer getWeiXiuId() {
		return weiXiuId;
	}

	public void setWeiXiuId(Integer weiXiuId) {
		this.weiXiuId = weiXiuId;
	}

	public String getDingDanHao() {
		return dingDanHao;
	}

	public void setDingDanHao(String dingDanHao) {
		this.dingDanHao = dingDanHao;
	}

	public String getWeiXiuRen() {
		return weiXiuRen;
	}

	public void setWeiXiuRen(String weiXiuRen) {
		this.weiXiuRen = weiXiuRen;
	}

	public Date getBaoXiuRiQi() {
		return baoXiuRiQi;
	}

	public void setBaoXiuRiQi(Date baoXiuRiQi) {
		this.baoXiuRiQi = baoXiuRiQi;
	}

	public String getGuZhangYuanYin() {
		return guZhangYuanYin;
	}

	public void setGuZhangYuanYin(String guZhangYuanYin) {
		this.guZhangYuanYin = guZhangYuanYin;
	}

	public String getWeiXiuCuoShi() {
		return weiXiuCuoShi;
	}

	public void setWeiXiuCuoShi(String weiXiuCuoShi) {
		this.weiXiuCuoShi = weiXiuCuoShi;
	}

	public String getYongHuName() {
		return yongHuName;
	}

	public void setYongHuName(String yongHuName) {
		this.yongHuName = yongHuName;
	}

	public String getYongHuDiZhi() {
		return yongHuDiZhi;
	}

	public void setYongHuDiZhi(String yongHuDiZhi) {
		this.yongHuDiZhi = yongHuDiZhi;
	}

	public String getYongHuPhone() {
		return yongHuPhone;
	}

	public void setYongHuPhone(String yongHuPhone) {
		this.yongHuPhone = yongHuPhone;
	}

	public String getPingPaiHao() {
		return pingPaiHao;
	}

	public void setPingPaiHao(String pingPaiHao) {
		this.pingPaiHao = pingPaiHao;
	}

	public String getPingPaiXingHao() {
		return pingPaiXingHao;
	}

	public void setPingPaiXingHao(String pingPaiXingHao) {
		this.pingPaiXingHao = pingPaiXingHao;
	}

	public String getTiaoMa() {
		return tiaoMa;
	}

	public void setTiaoMa(String tiaoMa) {
		this.tiaoMa = tiaoMa;
	}

	public String getLuRuRen() {
		return luRuRen;
	}

	public void setLuRuRen(String luRuRen) {
		this.luRuRen = luRuRen;
	}

	public String getBaoXiuLeiXing() {
		return baoXiuLeiXing;
	}

	public void setBaoXiuLeiXing(String baoXiuLeiXing) {
		this.baoXiuLeiXing = baoXiuLeiXing;
	}

	public Long getWeiXiuFei() {
		return weiXiuFei;
	}

	public void setWeiXiuFei(Long weiXiuFei) {
		this.weiXiuFei = weiXiuFei;
	}

	public Long getLaXiuFeiYong() {
		return laXiuFeiYong;
	}

	public void setLaXiuFeiYong(Long laXiuFeiYong) {
		this.laXiuFeiYong = laXiuFeiYong;
	}

	public String getTuPian1() {
		return tuPian1;
	}

	public void setTuPian1(String tuPian1) {
		this.tuPian1 = tuPian1;
	}

	public String getTuPian2() {
		return tuPian2;
	}

	public void setTuPian2(String tuPian2) {
		this.tuPian2 = tuPian2;
	}

	public String getTuPian3() {
		return tuPian3;
	}

	public void setTuPian3(String tuPian3) {
		this.tuPian3 = tuPian3;
	}

	public Date getGouMaiRiQi() {
		return gouMaiRiQi;
	}

	public void setGouMaiRiQi(Date gouMaiRiQi) {
		this.gouMaiRiQi = gouMaiRiQi;
	}

	public String getWaiJiTiaoMa() {
		return waiJiTiaoMa;
	}

	public void setWaiJiTiaoMa(String waiJiTiaoMa) {
		this.waiJiTiaoMa = waiJiTiaoMa;
	}

	public String getZhuangTai() {
		return zhuangTai;
	}

	public void setZhuangTai(String zhuangTai) {
		this.zhuangTai = zhuangTai;
	}

}